package com.gitee.kenewstar.migration.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.kenewstar.migration.constants.Const;
import lombok.Data;

/**
 * @author kenewstar
 */
@Data
@TableName(value = "himp_template_line", schema = Const.HZERO_IMPORT)
public class TemplateLine {

    @TableId(type = IdType.AUTO)
    private Long id;
    private Long targetId;
    private Integer columnIndex;
    private String columnName;
    private String columnCode;
    private String columnType;
    private Long length;
    private String formatMask;
    private Integer enabledFlag;
    private Integer nullableFlag;
    private Integer validateFlag;
    private Integer changeDataFlag;
    private String sampleData;
    private String description;
    private String maxValue;
    private String minValue;
    private String validateSet;
    private String regularExpression;
    private Long tenantId;
    private String bucket;
    private String directory;

    @TableField(exist = false)
    private Long devId;

}
